using SqlSugar;
using System;
using B.S.XZYData.Domain.BaseEntities;

namespace B.S.XZYData.Domain.ZSHH
{
    /// <summary>
    /// 产量统计表
    /// </summary>
    [SugarTable("production_statistics")]
    public class ProductionStatistics : BaseModel
    {
        /// <summary>
        /// 报工日期
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public DateTime ReportingDate { get; set; }

        /// <summary>
        /// 工单计划数
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int? WorkOrderPlanCount { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [SugarColumn(Length = 100, IsNullable = false)]
        public string ProductName { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false)]
        public string ProductNumber { get; set; }

        /// <summary>
        /// 产品规格
        /// </summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string ProductSpecification { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [SugarColumn(Length = 20, IsNullable = true)]
        public string Unit { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int Quantity { get; set; }
    }
} 